package com.itluma.isWOak.service;

import com.github.pagehelper.PageInfo;
import com.itluma.isWOak.pojo.AdminInfo;

public interface AdminInfoService {
    PageInfo<AdminInfo> page(Integer pageNum, Integer limit, Integer moduleId, String roleName);

    AdminInfo findById(Integer id);

    boolean resetPassword(Integer... ids);

    void modify(AdminInfo adminInfo);

    void add(AdminInfo adminInfo);

    void deleteByAdminId(Integer adminId);

    AdminInfo getByAdminCode(String adminCode);
}
